package com.telecom.cms.test;

import junit.framework.TestCase;

import com.telecom.cms.service.SysDepartMgr;
import com.telecom.cms.service.SysLocLatnMgr;
import com.telecom.cms.dto.SysLocLatn;
import java.util.List;
import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;


public class SysLocLatnMgrTest2 extends TestCase {
    
	private SysLocLatnMgr mgr;
	
	
	protected void setUp() throws Exception {
		super.setUp();
		mgr=new SysLocLatnMgr();
	}

	protected void tearDown() throws Exception {
		mgr=null;
		super.tearDown();
	}

	public void testFindAll() {
		List result=mgr.findall();
        assertTrue(result.size()>0);
	}
	
	public void testFindById() {
		SysLocLatn latn=mgr.findbyid("1006");
		System.out.print(latn.getLatn_Cd());
        assertTrue(latn.getLatn_Cd().equalsIgnoreCase("F"));
	}

}
